@echo off

for /D %%i in (*) do (
  echo %%i
  copy C:\Soft\TestSys\contests\%%i\contest.cfg %%i\contest.cfg || exit
) 
